package com.xjczjj.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data

public class RouterVo {
    // 路由地址
    private String path;
    // 路由组件路径
    private String component;
    // 路由参数
    private String name;
    // 路由meta信息
    private Meta meta;

    @Data
    @AllArgsConstructor
    public class Meta {
        private Boolean requireAuth;

    }
    private List<RouterVo> children = new ArrayList<RouterVo>();
}
